﻿using Peer.Converter;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Sockets;
using System.Text;

namespace Peer
{
    public class PeerOptions
    {
        public PeerOptions(BaseConverter converter, AddressFamily addressFamily = AddressFamily.InterNetwork)
        {
            this.AddressFamily = addressFamily;
            this.PeerConverter = converter;
        }


        public readonly AddressFamily AddressFamily;

        public readonly BaseConverter PeerConverter;


        public static PeerOptions Default = new PeerOptions(new DefaultConverter(), AddressFamily.InterNetwork);

    }
}
